package com.wlc.base.design.strategymode.v2_1;

/**
 * @author 王立朝
 * @date 2022/3/16
 * @description:
 */
public class Test {

    public static void main(String[] args) {
        CashContext context = new CashContext("满300 返100");
        double total = context.getResult(700);
        System.out.println("total = " + total);
    }
}
